package com.example.flower_shop.vo.role;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
@Schema(description = "角色请求对象")
public class RoleReqVO {
    /**
     * ID
     */
    @Schema(description = "角色id")
    private Long id;
    /**
     * 名称
     */
    @NotBlank(message = "名称不能为空")
    @Schema(description = "角色名称")
    private String name;
    /**
     * 角色标签
     */
    @Schema(description = "角色标签")
    private String label;
    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;
    /**
     * 数据权限是否关联上下级
     */
    @Schema(description = "数据权限是否关联上下级")
    private Boolean relevance;
    /**
     * 状态
     */
    @Schema(description = "状态")
    private Boolean status;
    /**
     * 菜单ID数组
     */
    @Schema(description = "菜单ID数组")
    private Long[] menuIds;
}
